import { defineUserConfig } from "@vuepress/cli";
import { path } from "@vuepress/utils";
import type { DefaultThemeOptions } from "@vuepress/theme-default";

const BASE = process.env.BASE as "/" | `/${string}/`;

export default defineUserConfig<DefaultThemeOptions>({
  base: BASE || "/",
  dest: "./dist",
  lang: "zh-CN",
  title: "KK70",
  description: "KK70个人站",
  themeConfig: {
    logo: "/logo.svg",
    navbar: [
      {
        text: "首页",
        link: "/",
      },
      {
        text: "文章",
        link: "/articles",
      },
      {
        text: "笔记",
        link: "/notes",
      },
    ],
  },
});
